package edu.isquen.core.user.model;

import java.util.HashSet;
import java.util.Set;

import edu.isquen.core.base.model.BaseUser;

/**
 * User entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class User extends BaseUser implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 6726239728274153237L;
	public final static String front_USER = "FRONT_USER";
	
	private String level;
	private String remarks;
	private String defaultDepartment;
	private String superior;
	private Set<UserRoleSet> userRoleSet = new HashSet<UserRoleSet>(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(String name, String loginno, String loginpwd, String email,
			Integer status, String telephone, String level, String remarks,
			String defaultDepartment, String superior) {
		super(name, loginno, loginpwd, email, status, telephone);
		this.level = level;
		this.remarks = remarks;
		this.defaultDepartment = defaultDepartment;
		this.superior = superior;
	}

	// Property accessors


	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getDefaultDepartment() {
		return this.defaultDepartment;
	}

	public void setDefaultDepartment(String defaultDepartment) {
		this.defaultDepartment = defaultDepartment;
	}

	public String getSuperior() {
		return this.superior;
	}

	public void setSuperior(String superior) {
		this.superior = superior;
	}

	public Set<UserRoleSet> getUserRoleSet() {
		return userRoleSet;
	}

	public void setUserRoleSet(Set<UserRoleSet> userRoleSet) {
		this.userRoleSet = userRoleSet;
	}
}